QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17
CONFIG += qaxcontainer #导出excel
#CONFIG += axcontainer #导出excel

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    api/systemManager/deptmanagerapi.cpp \
    api/systemManager/dictionarymanagerapi.cpp \
    api/systemManager/menumanagerapi.cpp \
    api/systemManager/paramssetapi.cpp \
    api/systemManager/rolemanagerapi.cpp \
    api/systemManager/usermanagerapi.cpp \
    api/systemMonitor/servermonitorapi.cpp \
    api/userapi.cpp \
    component/multiselectcombobox.cpp \
    config.cpp \
    index.cpp \
    main.cpp \
    mainwindow.cpp \
    router/systemManager/deptManager/deptmanager.cpp \
    router/systemManager/deptManager/editdept.cpp \
    router/systemManager/dictionaryManager/dictdatadlg.cpp \
    router/systemManager/dictionaryManager/dictionarymanager.cpp \
    router/systemManager/dictionaryManager/editdictdatadlg.cpp \
    router/systemManager/dictionaryManager/editdictionary.cpp \
    router/systemManager/menuManager/editmenu.cpp \
    router/systemManager/menuManager/icondialog.cpp \
    router/systemManager/menuManager/menumanager.cpp \
    router/systemManager/paramsSet/editconfigdlg.cpp \
    router/systemManager/roleManager/adduser.cpp \
    router/systemManager/roleManager/authdatascop.cpp \
    router/systemManager/roleManager/authuser.cpp \
    router/systemManager/roleManager/editroledlg.cpp \
    router/systemManager/roleManager/rolemanager.cpp \
    router/systemManager/userManager/edituserdlg.cpp \
    router/systemManager/paramsSet/paramsset.cpp \
    router/systemManager/userManager/authroledlg.cpp \
    router/systemManager/userManager/usermanager.cpp \
    router/systemManager/userManager/usermanagerhidecolumndlg.cpp \
    router/systemMonitor/serverMonitor/servermonitor.cpp \
    utils.cpp

HEADERS += \
    Entity/BaseEntity.h \
    Entity/Dept.h \
    Entity/DictData.h \
    Entity/DictType.h \
    Entity/Menu.h \
    Entity/Post.h \
    Entity/Role.h \
    Entity/SysConfig.h \
    Entity/TreeSelect.h \
    Entity/User.h \
    api/systemManager/deptmanagerapi.h \
    api/systemManager/dictionarymanagerapi.h \
    api/systemManager/menumanagerapi.h \
    api/systemManager/paramssetapi.h \
    api/systemManager/rolemanagerapi.h \
    api/systemManager/usermanagerapi.h \
    api/systemMonitor/servermonitorapi.h \
    api/userapi.h \
    component/multiselectcombobox.h \
    config.h \
    index.h \
    mainwindow.h \
    router/systemManager/deptManager/deptmanager.h \
    router/systemManager/deptManager/editdept.h \
    router/systemManager/dictionaryManager/dictdatadlg.h \
    router/systemManager/dictionaryManager/dictionarymanager.h \
    router/systemManager/dictionaryManager/editdictdatadlg.h \
    router/systemManager/dictionaryManager/editdictionary.h \
    router/systemManager/menuManager/editmenu.h \
    router/systemManager/menuManager/icondialog.h \
    router/systemManager/menuManager/menumanager.h \
    router/systemManager/paramsSet/editconfigdlg.h \
    router/systemManager/roleManager/adduser.h \
    router/systemManager/roleManager/authdatascop.h \
    router/systemManager/roleManager/authuser.h \
    router/systemManager/roleManager/editroledlg.h \
    router/systemManager/roleManager/rolemanager.h \
    router/systemManager/paramsSet/paramsset.h \
    router/systemManager/userManager/authroledlg.h \
    router/systemManager/userManager/edituserdlg.h \
    router/systemManager/userManager/usermanagerhidecolumndlg.h \
    router/systemManager/userManager/usermanager.h \
    router/systemMonitor/serverMonitor/servermonitor.h \
    utils.h

FORMS += \
    index.ui \
    mainwindow.ui \
    router/systemManager/deptManager/editdept.ui \
    router/systemManager/dictionaryManager/dictdatadlg.ui \
    router/systemManager/dictionaryManager/editdictdatadlg.ui \
    router/systemManager/dictionaryManager/editdictionary.ui \
    router/systemManager/menuManager/editmenu.ui \
    router/systemManager/menuManager/icondialog.ui \
    router/systemManager/paramsSet/editconfigdlg.ui \
    router/systemManager/roleManager/adduser.ui \
    router/systemManager/roleManager/authdatascop.ui \
    router/systemManager/roleManager/authuser.ui \
    router/systemManager/roleManager/editroledlg.ui \
    router/systemManager/userManager/authroledlg.ui \
    router/systemManager/userManager/edituserdlg.ui \
    router/systemManager/userManager/usermanagerhidecolumndlg.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc
